<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="my" uri="/WEB-INF/my.tld"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title>选择大评委专家</title>
		<link rel="stylesheet" href="../../css/css.css" type="text/css"></link>
		<link rel="stylesheet" href="../../css/counter.css" type="text/css"></link>
		<script type="text/javascript">
		function submit_function(expertId)
           {
               window.location.href('listAllPastSecondReviewProject.action?expertId='+expertId);
           }
           
           function modify_function(expertId)
           {
               window.location.href('listAlreadyAttendThirdReviewProject.action?expertId='+expertId);
           }
           function view_function(expertId)
           {
             window.location.href('viewAlreadyAttendThirdReviewProject.action?expertId='+expertId);
           }
</script>
		<style type="text/css">
.buttonface {
	background:#999 url(../../images/21_08.gif);
	background-repeat:repeat;
	border: none;
	COLOR: #4c4c4c;
	FONT-SIZE: 12px;
	FONT-STYLE: normal;
	FONT-VARIANT: normal;
	FONT-WEIGHT: normal;
	width: 69px;
	HEIGHT: 21px;
	LINE-HEIGHT: normal;
	cursor:pointer;
}
</style>
	</head>

	<body>
		<table>
			<tr>

				<td colspan="10">
					<IMG src="../../images/manage/arron1.gif">
					<FONT class="font_lv">选择专家进行投票</FONT>
				</td>
			</tr>
		</table>
		<table cellSpacing="1" cellPadding="1" width="100%" align="center"
			border="0">
			<tr>
				<td class=line>
					<table cellSpacing="1" cellPadding="1" width="100%" align="center"
						border="0" bgcolor="#CCCCCC">

						<tr>

							<td width="10%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								序号
							</td>
							<td width="10%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								专家姓名
							</td>
							<td width="10%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								手机
							</td>
							<td width="15%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								邮箱
							</td>
							<td width="10%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								专家登录用户名
							</td>
							<td width="10%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								投票状态
							</td>
							<td width="30%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								操作
							</td>
						</tr>
						<s:if test="${not empty emList}">
							<s:iterator value="emList" status="emStatus">
								<tr
								<s:if test="${emStatus.odd}">
								bgcolor="#FFFFFF"
								</s:if>
								<s:else>
								bgcolor="#FFFFCC"
								</s:else>
								>
									<td align="center" width="10%">
										<s:property value="${emStatus.count}" />
									</td>
									<td width="10%" align="center">
										<s:property value="xm" />
									</td>
									<td width="10%" align="center">
										<s:property value="shJ" />
									</td>
									<td width="15%" align="center">
										<s:property value="dzyx" />
									</td>
									<td width="10%" align="center">
										<s:property value="FYhm" />
									</td>
									<td width="10%" align="center">
										<s:if test="${alreadyThirdReview eq false}">
                                          未投票
                                          </s:if>
										<s:else>
											<font color="red">已投票</font>
										</s:else>
									</td>
									<td align="center" width="20%">
										<s:if test="${my:checkYear()}">
											<s:if test="${voteFlag eq true}">
												<s:if test="${alreadyThirdReview eq false}">
													<input type="button" value="进行投票"
														onclick="submit_function(${FBh})" class="buttonface">
												</s:if>
												<s:else>
													<input type="button" value="修改投票"
														onclick="modify_function(${FBh})" class="buttonface">
												</s:else>
											</s:if>
											<s:else>
												<input type="button" value="查看投票"
													onclick="view_function(${FBh})" class="buttonface">
											</s:else>
										</s:if>
										<s:else>
											<input type="button" value="查看投票"
												onclick="view_function(${FBh})" class="buttonface">
										</s:else>
									</td>
								</tr>
							</s:iterator>
						</s:if>
						<s:else>
							<tr>
								<td align="center" colspan="7">
									<font>未分配委员会专家，请分配委员会专家!</font>
								</td>
							</tr>
						</s:else>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>

